package com.chart.chart.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.chart.chart.domian.ChartConfigsUserNew;
import com.chart.chart.mapper.ChartConfigsUserMapper;
import com.chart.chart.mapper.ChartConfigsUserNewMapper;
import com.chart.chart.service.ChartConfigsUserNewService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ChartConfigsUserNewServiceImpl extends ServiceImpl<ChartConfigsUserNewMapper, ChartConfigsUserNew> implements ChartConfigsUserNewService {

    @Autowired
    private ChartConfigsUserNewMapper chartConfigsUserNewMapper;

    @Override
    public ChartConfigsUserNew getOneByChartName(String chartName, Long userId) {
        return chartConfigsUserNewMapper.getOneByChartName(chartName, userId);

    }
}
